package hlhj.fhp.tvlib.javabean;

import java.util.List;

/**
 * Created by Administrator on 2018\5\28 0028.
 */

public class RadioDetailBean {

    /**
     * code : 1
     * msg : 获取成功
     * data : {"id":1,"radio_source":"sasdsdfadsfadf1","radio_name":"四川广播1","online":"是的发送到发","program":[{"time":"10:07","name":"是单独的发斯蒂芬是","type":"1","online":2},{"time":"11:06","name":"是的发送到发","type":"1","online":2},{"time":"16:02","name":"是的发送到发","type":"1","online":2},{"time":"16:17","name":"是的发送到发","type":"1","online":1}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * radio_source : sasdsdfadsfadf1
         * radio_name : 四川广播1
         * online : 是的发送到发
         * program : [{"time":"10:07","name":"是单独的发斯蒂芬是","type":"1","online":2},{"time":"11:06","name":"是的发送到发","type":"1","online":2},{"time":"16:02","name":"是的发送到发","type":"1","online":2},{"time":"16:17","name":"是的发送到发","type":"1","online":1}]
         */

        private int id;
        private String radio_source;
        private String radio_name;
        private String online;
        private List<ProgramBean> program;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getRadio_source() {
            return radio_source;
        }

        public void setRadio_source(String radio_source) {
            this.radio_source = radio_source;
        }

        public String getRadio_name() {
            return radio_name;
        }

        public void setRadio_name(String radio_name) {
            this.radio_name = radio_name;
        }

        public String getOnline() {
            return online;
        }

        public void setOnline(String online) {
            this.online = online;
        }

        public List<ProgramBean> getProgram() {
            return program;
        }

        public void setProgram(List<ProgramBean> program) {
            this.program = program;
        }

        public static class ProgramBean {
            /**
             * time : 10:07
             * name : 是单独的发斯蒂芬是
             * type : 1
             * online : 2
             */

            private String time;
            private String name;
            private String type;
            private int online;

            public String getTime() {
                return time;
            }

            public void setTime(String time) {
                this.time = time;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public int getOnline() {
                return online;
            }

            public void setOnline(int online) {
                this.online = online;
            }
        }
    }
}
